Back

[SOLVED] Cannot Assign false value to attribute if the attribute is required from the cloud console.

  • 0
  • Databases
  • Web
  • Cloud
vidhya-build-tech
7 Jun, 2023, 15:29
TL;DR
Title: Cannot assign false value to required attribute in cloud console The issue was solved by changing the attribute to "isRenderNotRequired" instead of "isRequired". A workaround is to reverse the value. You'll need to wait for the cloud upgrade for a permanent solution. The issue was solved in version 1.3.0. The defaultValue does not reflect when assigning it to make the attribute not required. Solution: Change attribute to "isRenderNotRequired" and wait for cloud upgrade.
vidhya-build-tech
7 Jun, 2023, 15:31

Also If I assign a defaultValue while to make the attribute not required , the default value is not getting reflected

Binyamin
7 Jun, 2023, 15:32

This was solved on version 1.3.0

vidhya-build-tech
7 Jun, 2023, 15:32

This is how it will be created

Binyamin
7 Jun, 2023, 15:33

The cloud though uses version 1.1.2

vidhya-build-tech
7 Jun, 2023, 15:33

How to shift it

Binyamin
7 Jun, 2023, 15:33

You can't you'll need to wait for the cloud upgrade.

Binyamin
7 Jun, 2023, 15:34

For now you'll need to do some workaround like reversing the value

Binyamin
7 Jun, 2023, 15:34

Like changing it to isRenderNotRequired

vidhya-build-tech
7 Jun, 2023, 15:34

Ok Thank you , why haven't i thought of that?😆

Drake
7 Jun, 2023, 17:25

[SOLVED] Cannot Assign false value to attribute if the attribute is required from the cloud console.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more