-
Notifications
You must be signed in to change notification settings - Fork 19
Disabling the edit and create buttons #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Rancher no longer supplies the appropriate fields to render the dynamic forms. - `resourceFields` is now null - `resourceDefinitions` doesn't supply the `update/create fields` Fixes rancher/dashboard#14139
|
|
||
| ## License | ||
|
|
||
| Copyright (c) 2014-2024 [Rancher Labs, Inc.](http://rancher.com) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming we want to update this but I can revert if needed.
| <button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.up()" {{#unless operations.up}}disabled="disabled"{{/unless}}><span class="glyphicon glyphicon-arrow-up"></span> Up</button> | ||
| <button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.reload()"><span class="glyphicon glyphicon-refresh"></span> Reload</button> | ||
| {{#if operations.post}} | ||
| {{!-- {{#if operations.post}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to skip comment out instead of deleting to make this easier to find in the future and this repo isn't anything like the code we typically work on.
…d in rancher Update PR rancher/api-ui#47
|
@codyrancher Where did we get to with this PR? |
@nwmac IIRC I think this was only a partial fix which is why I never asked for a review. If it's something we still want I could review this for 2.14. |
Rancher no longer supplies the appropriate fields to render the dynamic forms.
resourceFieldsis now nullresourceDefinitionsdoesn't supply theupdate/create fieldsFixes rancher/dashboard#14139