Skip to content

Conversation

@christyjacob4
Copy link
Contributor

@christyjacob4 christyjacob4 commented Jan 16, 2023

What does this PR do?

  1. Fix for 🐛 Bug Report: DateTime Attribute Unexpectedly Updates appwrite#4981

Before

Screen.Recording.2023-01-16.at.11.54.51.AM.mov

After

Screen.Recording.2023-01-16.at.11.55.20.AM.mov
  1. Fix for 🐛 Bug Report: Not required attribute (format url) has invalid validation in console 2.0 appwrite#4989

Before

Screen.Recording.2023-01-16.at.7.43.45.PM.mov

After

Screen.Recording.2023-01-16.at.7.42.49.PM.mov

Test Plan

Existing tests

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@vercel
Copy link

vercel bot commented Jan 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
console ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 16, 2023 at 2:25PM (UTC)

Comment on lines +42 to +44
if (value === '') {
value = null;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is any difference, but is there a reason why we handle it like this instead of doing

$: if(!value){
value = null
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ArmanNik I tried it, but on doing this, for some reason the update button stops working. It does not detect a change in the input field that way

Screen.Recording.2023-01-16.at.9.04.41.PM.mov

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahaahahahah got it 💪 that's a very weird behavior 😆

@christyjacob4
Copy link
Contributor Author

Screenshot 2023-01-16 at 8 56 22 PM

I tried to fix this issue as well where URL attributes show up as string in the UI, and I realised that the API response is structured that way.

Screenshot 2023-01-16 at 8 57 46 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants