Facepunch / sbox-issues

177 stars 12 forks source link

string properties marked with TextArea don't update correctly #6967

Closed johncosfm closed 3 days ago

johncosfm commented 3 days ago

Describe the bug

When setting a value in code, a simple string property will update in the editor as expected, but if its marked with the TextArea attribute it wont update.

To Reproduce

  1. Create string marked with [Property, TextArea]
  2. Set its value in code
  3. Observe that it does not update in the inspector unless the whole area is redrawn

Expected behavior

It should update itself in the same way that a string not marked with TextArea updates

Media/Files

No response

Additional context

No response

aylaylay commented 3 days ago

Fixed

johncosfm commented 3 days ago

cool now fix it for lists!!!