focused attribute directive replace input directive