Merge pull request #3126 from appwrite/fix-enum-array-ui

Fix array enums dropdown
This commit is contained in:
Torsten Dittmann 2022-04-20 16:08:10 +02:00 committed by GitHub
commit 32c6ef301e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 23 deletions

View file

@ -267,9 +267,9 @@ $logs = $this->getParam('logs', null);
:required="attr.required" :required="attr.required"
:name="attr.key" :name="attr.key"
data-cast-to="string"> data-cast-to="string">
<template x-for="element in attr.elements"> <option :disabled="attr.required" selected label=" "></option>
<option :disabled="attr.required" selected label=" "></option>
<template x-for="element in attr.elements">
<option <option
:value="element" :value="element"
x-text="element" x-text="element"

34
composer.lock generated
View file

@ -2250,16 +2250,16 @@
}, },
{ {
"name": "utopia-php/framework", "name": "utopia-php/framework",
"version": "0.19.8", "version": "0.19.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/framework.git", "url": "https://github.com/utopia-php/framework.git",
"reference": "8c3b3e330546fd6cd65bd1f8d8d08882ff3abb7d" "reference": "4af9fc866edce1b8cff94731fb26c27599118e87"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/framework/zipball/8c3b3e330546fd6cd65bd1f8d8d08882ff3abb7d", "url": "https://api.github.com/repos/utopia-php/framework/zipball/4af9fc866edce1b8cff94731fb26c27599118e87",
"reference": "8c3b3e330546fd6cd65bd1f8d8d08882ff3abb7d", "reference": "4af9fc866edce1b8cff94731fb26c27599118e87",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2293,9 +2293,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/framework/issues", "issues": "https://github.com/utopia-php/framework/issues",
"source": "https://github.com/utopia-php/framework/tree/0.19.8" "source": "https://github.com/utopia-php/framework/tree/0.19.9"
}, },
"time": "2022-04-12T00:28:15+00:00" "time": "2022-04-14T15:39:47+00:00"
}, },
{ {
"name": "utopia-php/image", "name": "utopia-php/image",
@ -3551,16 +3551,16 @@
}, },
{ {
"name": "matthiasmullie/minify", "name": "matthiasmullie/minify",
"version": "1.3.66", "version": "1.3.67",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/matthiasmullie/minify.git", "url": "https://github.com/matthiasmullie/minify.git",
"reference": "45fd3b0f1dfa2c965857c6d4a470bea52adc31a6" "reference": "acaee1b7ca3cd67a39d7f98673cacd7e4739a8d9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/matthiasmullie/minify/zipball/45fd3b0f1dfa2c965857c6d4a470bea52adc31a6", "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/acaee1b7ca3cd67a39d7f98673cacd7e4739a8d9",
"reference": "45fd3b0f1dfa2c965857c6d4a470bea52adc31a6", "reference": "acaee1b7ca3cd67a39d7f98673cacd7e4739a8d9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3609,23 +3609,15 @@
], ],
"support": { "support": {
"issues": "https://github.com/matthiasmullie/minify/issues", "issues": "https://github.com/matthiasmullie/minify/issues",
"source": "https://github.com/matthiasmullie/minify/tree/1.3.66" "source": "https://github.com/matthiasmullie/minify/tree/1.3.67"
}, },
"funding": [ "funding": [
{ {
"url": "https://github.com/[user1", "url": "https://github.com/matthiasmullie",
"type": "github"
},
{
"url": "https://github.com/matthiasmullie] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g.",
"type": "github"
},
{
"url": "https://github.com/user2",
"type": "github" "type": "github"
} }
], ],
"time": "2021-01-06T15:18:10+00:00" "time": "2022-03-24T08:54:59+00:00"
}, },
{ {
"name": "matthiasmullie/path-converter", "name": "matthiasmullie/path-converter",