fix(tradein/v2): смонтировать форму лида (#2377) в живое v2-дерево (#2395) #2398

Merged
lekss361 merged 2 commits from fix/tradein-2395-lead-form-v2 into main 2026-07-04 08:46:11 +00:00
Showing only changes of commit 6a8d588731 - Show all commits

View file

@ -264,6 +264,7 @@ export function LeadForm({ estimateId }: LeadFormProps) {
type="submit" type="submit"
className="lf-submit-btn" className="lf-submit-btn"
disabled={leadMutation.isPending} disabled={leadMutation.isPending}
aria-disabled={canSubmit ? undefined : true}
style={{ style={{
height: 36, height: 36,
flex: "0 0 auto", flex: "0 0 auto",
@ -339,5 +340,3 @@ export function LeadForm({ estimateId }: LeadFormProps) {
</form> </form>
); );
} }
export default LeadForm;