mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2532 Here changed how bindings are validated - closing with broken expression will show errors and prevent close - the next close will not block and keep the old valid expression - close with valid expression invoked saving - props no longer can change the type of input - binding button becomes red and gets tooltip when value has invalid type - binding popover also shows non-blocking error about type - each control provides own validation <img width="465" alt="image" src="https://github.com/webstudio-is/webstudio/assets/5635476/c19cca91-4558-4570-b257-1c10689a1113"> <img width="247" alt="Screenshot 2024-01-05 at 17 13 15" src="https://github.com/webstudio-is/webstudio/assets/5635476/8702b2f2-1756-4262-924f-83f1d92eb4b4">