Shelf-nu / shelf.nu

shelf is open source Asset Management Infrastructure for absolutely everyone.
https://shelf.nu
GNU Affero General Public License v3.0
1.67k stars 145 forks source link

[Bug]: Possible to create blank NRMs due to button not being disabled / Name field not being required #1061

Closed jurrejansen closed 1 month ago

jurrejansen commented 1 month ago

Contact Details

jurre@shelf.nu

What happened?

While adding NRM just click Add team member without filling the "required" name field

https://github.com/Shelf-nu/shelf.nu/assets/76112272/70de76f6-f261-4c5f-b76e-f58a67c7a0d6

What is the expected behaviour?

Name field should be required and clicking the Add team member button should return a field error

Version

Hosted (app.shelf.nu)

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

DonKoko commented 1 month ago

@jurrejansen fix is being deployed. Thanks for report.