foundryvtt / foundryvtt

Public issue tracking and documentation for Foundry Virtual Tabletop - software connecting RPG gamers in a shared multiplayer environment with an intuitive interface and powerful API.
https://foundryvtt.com/
192 stars 10 forks source link

Clearing the Name input of the RegionConfig and then saving results in a validation error #10813

Open dev7355608 opened 2 weeks ago

dev7355608 commented 2 weeks ago

The placeholder of the Name input shows the current name of the Region. Clearing the input and saving should result in no change instead of this validation error:

foundry.js:631 Error: RegionDocument [p4mlKUyhH4aAri4B] validation errors:
  name: may not be undefined
aaclayton commented 2 weeks ago

Not sure I agree with framing this as a bug ... trying to save the form with a blank name field means you are trying to save a blank name...

We could add extra UX to protect users from themselves here, but this isn't a bug.