Your comments

Hello Guido,

Thank you for the Reply

But that would be great if we create PCF code component for this scenario, so we can have code component in the same context as same of form that will improve the performs so please can we create.

Hlello Guido,

Thank for reply,

I have achieved this same scenario using web resources using java script but what I want is build the same scenario using PCF code component so that I can  use same code component into different environments for different forms fields.

The Problem statement is:

1.On change event of date field on the form  we have to use the controller and make visible two fields those are lookup and single line of text field, and then
2.on save event we have to get data for lookup and single line of text field and make both field hide and clear, and after that 
3.if we load that form (on load event) of form those both lookup and single line of text field should be disable.