When using a resource that is not in the original model (fourth and above) as a token resource, the resulting input in the token's HUD is not editable.
Versions
5e-Sheet Resources Plus 1.16.12
FoundryVTT 9.255
Reproduction
Create a token from an actor with at least 4 resources enabled.
Open the token's HUD by right-clicking on it, then open the Token Configuration (cogwheel icon).
Go to the "Resources" tab and set any attribute to "resources.fourth" (or any other additional resource).
Click "Update Token" to save the configuration.
Check the input that should now have appeared on the token HUD. Observe that it is not editable.
Cause
The check that prevents editing this value is found on line 18803 in the foundry.js file:
Essentially, FoundryVTT checks if the attribute is part of the unmodified actor model in order to determine whether the resource should be editable, which is unfortunately not the intended result in this case.
When using a resource that is not in the original model (fourth and above) as a token resource, the resulting input in the token's HUD is not editable.
Versions
Reproduction
Cause The check that prevents editing this value is found on line 18803 in the foundry.js file:
Essentially, FoundryVTT checks if the attribute is part of the unmodified actor model in order to determine whether the resource should be editable, which is unfortunately not the intended result in this case.