EnxDev opened a new pull request, #37802:
URL: https://github.com/apache/superset/pull/37802

   ### SUMMARY
   The SyncOutlined refresh icon in the filter config form's "Default Value" 
row was vertically misaligned when a validation error message appeared below 
the field. The `DefaultValueContainer` used `align-items: center`, which 
centered the icon relative to the combined height of the field + error message, 
pushing it below the field line.
   
   Changed `align-items` from `center` to `flex-start` so the icon stays 
anchored at field level, and added `margin-top` to vertically center it with 
the 32px input.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!-- Before: icon drops below the field when validation error shows -->
   <!-- After: icon stays aligned with the input field, error flows below -->
   
   - Before
   <img width="1092" height="942" alt="Screenshot 2026-02-09 131410" 
src="https://github.com/user-attachments/assets/0a2ce70e-bfa8-4532-9285-2aa3e81941b6";
 />
   
   - After
   
   <img width="1014" height="985" alt="Screenshot 2026-02-09 131555" 
src="https://github.com/user-attachments/assets/66c08b94-36c7-4a05-9849-bf7b47a0be96";
 />
   
   - Before
   
   
   <img width="1010" height="1028" alt="Screenshot 2026-02-09 131451" 
src="https://github.com/user-attachments/assets/94f17c07-2688-4d6f-8eca-536b77405e99";
 />
   
   - After
   
   
   <img width="1067" height="987" alt="Screenshot 2026-02-09 130621" 
src="https://github.com/user-attachments/assets/3800e319-7f0b-4144-b988-112d1121d6cf";
 />
   
   ### TESTING INSTRUCTIONS
   1. Go to a dashboard → Edit → Filters
   2. Select or create a filter with a dataset
   3. Check "Filter has default value"
   4. Leave the default value empty so the validation error "Value is required" 
appears
   5. Verify the sync (refresh) icon stays aligned with the select field, not 
centered with field + error
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to